package com.zam.mapper;

import com.zam.pojo.CourseUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zam
 * @since 2024-01-30
 */
public interface CourseUserMapper extends BaseMapper<CourseUser> {

    @Delete("delete from sys_course_user where user_id=#{userId} and course_id=#{courseId}")
    void delectByCU(CourseUser courseUser);
}
